package ms.jasim.framework;

public class ReplanEvent extends JEventType {

	public static final String MAX_SOLUTION = "MaxSolution";
	public static final String MAX_TIME = "MaxTime";
	
	public ReplanEvent() {
		this(3, 0);
	}
	
	public ReplanEvent(int defMaxSolution, int defMaxTime) {
		Parameters.add(new Parameter(MAX_SOLUTION, "Max Solutions", ParameterType.Int, 3));
		Parameters.add(new Parameter(MAX_TIME, "Max Time", ParameterType.Int, 0));
	}
	
	@Override
	public String getName() {
		return "Replan";
	}

	@Override
	public String getDescription() {
		return "Force the simulation to replan to adapt with changes made to the environment.";
	}
}
